package com.taijihuabao.modules.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.taijihuabao.common.commonutils.LongToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @title: BaseTypeEntity
 * @Author luoxianan
 * @Date: 2022/1/6 17:06
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ToString(callSuper = true)
@ApiModel("码表类型实体类")
public class BaseTypeEntity extends BaseEntity{
    @ApiModelProperty(value = "码表类型主键")
    @JsonSerialize(using = LongToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "码值类型名称")
    private String  typeName;


}
